#pragma once

#include "Widgets/Widget.h"
#include "WindowResizeble.m.h"

//make window border resizable
// must fill whole window
RCLASS()
class WHENGINE_API RWindowResizeble : public RWidget
{
    ROBJECT

    RWindowResizeble();

protected:
    float BorderSize=4.f;

    SIntPoint InitialWindowPosition;
    SIntPoint InitialMouseScreenPosition;
    SIntPoint InitialWindowSize;
};





